package myexchange

class Card {

	int nr
	boolean isRisk
	static hasMany = [modifications:Modification]
	
	static constraints = {
	}
	
	static mapping = {
		sort nr:'asc'
	}
	
	boolean equals(Object card) {
		return this.id == card.id
	}
}
